package com.zhuanzhuan.hero.user.dto.tool;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName ToolCreateLabelDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/25 11:22
 */
@Data
public class ToolCreateLabelDTO {

    @NotNull(message = "labelType不可为空")
    private Integer labelType;

    /**
     * 为空则随机生成一个
     */
    private String labelCode;

    @NotBlank(message = "labelName不可为空")
    private String labelName;

    /**
     * 不传默认为-1
     */
    private String parentLabelCode = "-1";

    private Integer labelLevel = 1;

    private Integer showOrder = 1;

    private Integer createRole;
}
